import Vue from 'vue'
import Router from 'vue-router'
// import Hello from '@/components/Hello'
import player from '@/components/player'
import search from '@/components/search'
import index from '@/components/index'

Vue.use(Router)

export default new Router({
  routes: [
    {
      path: '/index/:id',
      name: 'index',
      component: index
    },
    {
      path: '/player/:id',
      name: 'player',
      component: player
    },
    {
      path: '/search/:keyword',
      name: 'search',
      component: search
    }
  ]
})
